import { Tabs } from "antd";
import type { TabsProps } from "antd";
import { MaterialMenu } from "./MaterialMenu";

const onChange = (key: string) => {
};

const items: TabsProps["items"] = [
  { key: "system", label: "系统组件", children: <MaterialMenu /> },
  { key: "custom", label: "自定义组件", children: "waiting" },
];
export function MaterialTab() {
  return (
    <Tabs
      defaultActiveKey="1"
      items={items}
      onChange={onChange}
      tabBarStyle={{ padding: "0 12px" }}
      className="scrollHFullAntTab"
    />
  );
}
